package com.tamecode.bean.method.di;

import com.tamecode.bean.di.Boss;

import java.math.BigDecimal;

public class Car {

    private String id;

    private String brand;

    private BigDecimal price;

    private Integer maxSpeed;

    private String color;

    public Car() {
    }

    public Car(String brand, BigDecimal price) {
        this.brand = brand;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(Integer maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
